﻿namespace Admin.NET.Core.Btms;

[SugarTable("InvRuKuMingXi", "入库明细表")]
public class InvRuKuMingXi : EntityBaseId
{
    [SugarColumn(ColumnDescription = "主表Id", Length = 128)]
    public string invRuKuId { get; set; } = "";

    [SugarColumn(ColumnDescription = "血液Id回写")]
    public long? xueYeId { get; set; }

    [SugarColumn(ColumnDescription = "品种Id")]
    public long pinZhongId { get; set; }


    [SugarColumn(ColumnDescription = "大类", Length = 64)]
    public string daLei { get; set; } = "";


    [SugarColumn(ColumnDescription = "献血码", Length = 64)]
    public string xianXueMa { get; set; } = "";


    [SugarColumn(ColumnDescription = "产品码, 产品表Id", Length = 64)]
    public string chanPinId { get; set; } = "";


    [SugarColumn(ColumnDescription = "血液名称", Length = 256)]
    public string mingCheng { get; set; } = "";


    [SugarColumn(ColumnDescription = "ABO", Length = 32)]
    public string abo { get; set; } = "";


    [SugarColumn(ColumnDescription = "RhD", Length = 32)]
    public string rhD { get; set; } = "";


    [SugarColumn(ColumnDescription = "容量", Length = 5, DecimalDigits = 2)]
    public decimal rongLiang { get; set; }


    [SugarColumn(ColumnDescription = "单位", Length = 64)]
    public string danWei { get; set; } = "";  
    
    [SugarColumn(ColumnDescription = "血袋外观", Length = 64)]
    public string xueDaiWaiGuan { get; set; } = "";

    [SugarColumn(ColumnDescription = "价格", Length = 16, DecimalDigits = 2)]
    public decimal jiaGe { get; set; }

    [SugarColumn(ColumnDescription = "采血时间")]
    public DateTime? caiXueShiJian { get; set; }

    [SugarColumn(ColumnDescription = "制备时间")]
    public DateTime? zhiBeiShiJian { get; set; }

    [SugarColumn(ColumnDescription = "失效时间")]
    public DateTime shiXiaoShiJian { get; set; }


}
